<html>
<head><meta charset="utf-8"><title>Getting mir-opt to emit dumps · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Getting.20mir-opt.20to.20emit.20dumps.html">Getting mir-opt to emit dumps</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="209810345"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Getting%20mir-opt%20to%20emit%20dumps/near/209810345" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Braden Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Getting.20mir-opt.20to.20emit.20dumps.html#209810345">(Sep 11 2020 at 17:26)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/blob/master/src/test/mir-opt/README.md">https://github.com/rust-lang/rust/blob/master/src/test/mir-opt/README.md</a> Looking through this and trying to get it to emit dumps for my new test, but <code> ./x.py test --stage 1 --bless src/test/mir-opt/simple_range_analysis.rs</code> doesn't seem to work at all. The function being tested is commented based on the info in the readme and what it looks like in the other tests.</p>



<a name="209810462"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Getting%20mir-opt%20to%20emit%20dumps/near/209810462" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Braden Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Getting.20mir-opt.20to.20emit.20dumps.html#209810462">(Sep 11 2020 at 17:27)</a>:</h4>
<p><a href="https://pybin.pw/Fh1L">https://pybin.pw/Fh1L</a> test code</p>



<a name="209811343"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Getting%20mir-opt%20to%20emit%20dumps/near/209811343" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Getting.20mir-opt.20to.20emit.20dumps.html#209811343">(Sep 11 2020 at 17:34)</a>:</h4>
<p>Hmm, did you mean to post this in <code>t-compiler/wg-rls-2.0</code>?</p>



<a name="209811445"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Getting%20mir-opt%20to%20emit%20dumps/near/209811445" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Braden Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Getting.20mir-opt.20to.20emit.20dumps.html#209811445">(Sep 11 2020 at 17:35)</a>:</h4>
<p><span class="user-mention silent" data-user-id="203546">Laurențiu Nicola</span> <a href="#narrow/stream/185405-t-compiler.2Fwg-rls-2.2E0/topic/Getting.20mir-opt.20to.20emit.20dumps/near/209811343">said</a>:</p>
<blockquote>
<p>Hmm, did you mean to post this in <code>t-compiler/wg-rls-2.0</code>?</p>
</blockquote>
<p>Oh, no I did not! How did this get here?</p>



<a name="209811535"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Getting%20mir-opt%20to%20emit%20dumps/near/209811535" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Braden Nelson <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Getting.20mir-opt.20to.20emit.20dumps.html#209811535">(Sep 11 2020 at 17:36)</a>:</h4>
<p>Is there some way to move the convo to <a class="stream" data-stream-id="189540" href="/#narrow/stream/189540-t-compiler.2Fwg-mir-opt">#t-compiler/wg-mir-opt</a>?</p>



<a name="209811840"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Getting%20mir-opt%20to%20emit%20dumps/near/209811840" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Getting.20mir-opt.20to.20emit.20dumps.html#209811840">(Sep 11 2020 at 17:39)</a>:</h4>
<p>Only an admin can, you should probably start another thread there</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>